import { request } from './request'

export function getGoodsList() {
    return request({
        url: '/api/goods'
    })
}
export function getGoodsDetail(id) {
    return request({
        url: '/api/goods',
        data:id
    })
}